<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>迎新</title>
    <meta name="renderer" content="webkit"/>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,Chrome=1"/>
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"/>
    <meta name="apple-mobile-web-app-status-bar-style" content="black"/>
    <meta name="apple-mobile-web-app-capable" content="yes"/>
    <meta name="_csrf" th:content="${_csrf.token}"/>
    <meta name="_csrf_header" th:content="${_csrf.headerName}"/>
    <meta name="format-detection" content="telephone=no"/>
    <link rel="stylesheet" type="text/css" th:href="@{/static/plugin/weui/weui.min.css}"/>
    <style>
        .weui-uploader__input-box img {
            float: left;
            position: relative;
            margin-right: 9px;
            margin-bottom: 9px;
            width: 77px;
            height: 77px;
            border: 1px solid #d9d9d9;
        }
    </style>
</head>
<body>
<div class="page">
    <div class="page__hd">
        <h1 class="page__title">
            <img th:src="@{/static/image/log.png}" alt="WeUI" height="200px"/>
        </h1>
    </div>
    <div class="page__bd">
        <form method="post" id="form" th:action="@{/s/wx/register/save}">
            <div class="weui-cells weui-cells_form">
                <div class="weui-cells__title">基本信息</div>
                <div class="weui-cell">
                    <div class="weui-cell__hd"><label class="weui-label"><span style="color: red">*</span>姓名：</label></div>
                    <div class="weui-cell__bd">
                        <input class="weui-input" th:name="xm" placeholder="请输入您的姓名" required="required" onblur="validateUsername(this)"/>
                    </div>
                </div>
                <div class="weui-cell weui-cell_select weui-cell_select-after">
                    <div class="weui-cell__hd">
                        <label for="select1" class="weui-label"><span style="color: red">*</span>性别</label>
                    </div>
                    <div class="weui-cell__bd">
                        <select class="weui-select" th:name="gbtXbdm" id="select1">
                            <option value="5418">男</option>
                            <option value="5419">女</option>
                        </select>
                    </div>
                </div>
                <div class="weui-cell__bd">
                    <div class="weui-uploader">
                        <div class="weui-uploader__hd">
                            <p class="weui-uploader__title"><span style="color: red">*</span>照片上传（小于20K）</p>
                        </div>
                        <div class="weui-uploader__bd">
                            <div class="weui-uploader__input-box">
                                <input id="uploaderInput" name="file" class="weui-uploader__input" type="file"
                                       accept="image/*" multiple="multiple"/>
                                <input type="hidden" th:name="zp2" id="zp"/>
                            </div>
                        </div>
                    </div>
                </div>
                <div class="weui-cell">
                    <div class="weui-cell__hd"><label for="date1" class="weui-label"><span style="color: red">*</span>出生日期</label></div>
                    <div class="weui-cell__bd">
                        <input class="weui-input" type="date" th:name="csrqFmt" id="date1" onblur="validateDate(this)" placeholder="日期格式:2000-01-01"/>
                    </div>
                </div>
                <div class="weui-cell weui-cell_select weui-cell_select-after">
                    <div class="weui-cell__hd">
                        <label for="syd_sf" class="weui-label"><span style="color: red">*</span>所属省</label>
                    </div>
                    <div class="weui-cell__bd">
                        <select class="weui-select" id="syd_sf" name="sydSheng">
                            <option value="">--请选择--</option>
                            <option th:each="list:${list_sss}" th:selected="${list.id==10701}" th:value="${list.id}" th:text="${list.name}"></option>
                        </select>
                    </div>
                </div>
                <div class="weui-cell weui-cell_select weui-cell_select-after">
                    <div class="weui-cell__hd">
                        <label for="syd_sf" class="weui-label"><span style="color: red">*</span>所属市</label>
                    </div>
                    <div class="weui-cell__bd">
                        <select class="weui-select" id="sydCity" name="sydCity">
                            <option value="">--请选择--</option>
                            <option th:each="list:${list_ssy}" th:selected="${list.id==8907}" th:value="${list.id}" th:text="${list.name}"></option>
                        </select>
                    </div>
                </div>
                <div class="weui-cell weui-cell_select weui-cell_select-after">
                    <div class="weui-cell__hd">
                        <label for="sydSection" class="weui-label"><span style="color: red">*</span>所属区</label>
                    </div>
                    <div class="weui-cell__bd">
                        <select class="weui-select" id="sydSection" name="sydSection">
                            <option value="">--请选择--</option>
                            <option th:each="list:${list_yyy}"  th:value="${list.id}" th:text="${list.name}"></option>
                        </select>
                    </div>
                </div>
                <div class="weui-cell">
                    <div class="weui-cell__hd"><label class="weui-label"><span style="color: red">*</span>籍贯：</label></div>
                    <div class="weui-cell__bd">
                        <input class="weui-input" th:name="jg" placeholder="籍贯" required="required" onblur="validateAddress(this)"/>
                    </div>
                </div>
                <div class="weui-cell weui-cell_select weui-cell_select-after">
                    <div class="weui-cell__hd">
                        <label for="gbtMzdm" class="weui-label"><span style="color: red">*</span>民族</label>
                    </div>
                    <div class="weui-cell__bd">
                        <select class="weui-select" id="gbtMzdm" name="gbtMzdm">
                            <option th:each="list,listStat :${list_mz}" th:selected="${list.id==4370}?true:false"
                                    th:value="${list.id}" th:text="${list.name}"></option>
                        </select>
                    </div>
                </div>
                <div class="weui-cell">
                    <div class="weui-cell__hd"><label class="weui-label"><span style="color: red">*</span>身份证号：</label></div>
                    <div class="weui-cell__bd">
                        <input class="weui-input" th:name="sfzjh" placeholder="请输入您的身份证号" required="required" onblur="validateIDNumber(this)"/>
                    </div>
                </div>
                <div class="weui-cell">
                    <div class="weui-cell__hd"><label class="weui-label">特长：</label></div>
                    <div class="weui-cell__bd">
                        <input class="weui-input" th:name="tc" placeholder="特长" onblur="validateChinese(this)"/>
                    </div>
                </div>
               <div class="weui-cell weui-cell_select weui-cell_select-after">
                <div class="weui-cell__hd">
                    <label for="select7" class="weui-label">户口性质</label>
                </div>
                <div class="weui-cell__bd">
                    <select class="weui-select" id="select7" name="nchkf">
                        <option value="0" selected="selected">城市</option>
                        <option value="1">农村</option>
                    </select>
                </div>
            </div>
                <div class="weui-cells__title">招生信息</div>
                <div class="weui-cell weui-cell_select weui-cell_select-after">
                    <div class="weui-cell__hd">
                        <label class="weui-label"><span style="color: red">*</span>考生类型</label>
                    </div>
                    <div class="weui-cell__bd">
                    <select class="weui-select" name="kslx">
                        <option value="0" selected="selected">秋季招生</option>
                        <option value="1">春季招生</option>
                    </select>
                    </div>
                </div>
                <div class="weui-cell">
                    <div class="weui-cell__hd"><label class="weui-label">身高：</label></div>
                    <div class="weui-cell__bd">
                        <input class="weui-input" th:name="rxsg" placeholder="请输入您的身高（CM）" onblur="validateHeightAndWeight(this)"/>
                    </div>
                </div>
                <div class="weui-cell">
                    <div class="weui-cell__hd"><label class="weui-label">体重：</label></div>
                    <div class="weui-cell__bd">
                        <input class="weui-input" th:name="rxtz" placeholder="请输入入学体重(kg)" onblur="validateHeightAndWeight(this)"/>
                    </div>
                </div>
                <div class="weui-cell">
                    <div class="weui-cell__hd"><label class="weui-label">毕业学校：</label></div>
                    <div class="weui-cell__bd">
                        <input class="weui-input" th:name="byxx" placeholder="请输入毕业学校" onblur="validateChinese(this)"/>
                    </div>
                </div>
                <div class="weui-cells__title">报名信息</div>
                <div class="weui-cell weui-cell_select weui-cell_select-after">
                    <div class="weui-cell__hd">
                        <label for="select3" class="weui-label"><span style="color: red">*</span>预报名系部</label>
                    </div>
                    <div class="weui-cell__bd">
                        <select class="weui-select" id="select3" name="zzjg">
                            <option value="">--请选择--</option>
                            <option th:each="list:${list_yx}" th:value="${list.id}" th:text="${list.name}"></option>
                        </select>
                    </div>
                </div>
                <div class="weui-cell weui-cell_select weui-cell_select-after">
                    <div class="weui-cell__hd">
                        <label for="select4" class="weui-label"><span style="color: red">*</span>预报名专业</label>
                    </div>
                    <div class="weui-cell__bd">
                        <select class="weui-select" id="select4" name="zy">
                            <option value=""></option>
                        </select>
                    </div>
                </div>
                <div class="weui-cells__title">报名信息</div>
                <div class="weui-cell">
                    <div class="weui-cell__hd"><label class="weui-label">通讯地址：</label></div>
                    <div class="weui-cell__bd">
                        <input class="weui-input" th:name="txdz" placeholder="通讯地址" onblur="validateAddress1(this)"/>
                    </div>
                </div>
                <div class="weui-cell">
                    <div class="weui-cell__hd"><label class="weui-label">邮编：</label></div>
                    <div class="weui-cell__bd">
                        <input class="weui-input" th:name="yb" placeholder="邮编" onblur="validatePost(this)" maxlength="6"/>
                    </div>
                </div>
                <div class="weui-cell">
                    <div class="weui-cell__hd"><label class="weui-label">本人手机：</label></div>
                    <div class="weui-cell__bd">
                        <input class="weui-input" th:name="brsj" placeholder="本人手机" onblur="validatePhone(this)" maxlength="11"/>
                    </div>
                </div>
                <div class="weui-cells__title">学习经历</div>
                <div class="weui-cell">
                    <div class="weui-cell__hd"><label class="weui-label">入学年月：</label></div>
                    <div class="weui-cell__bd">
                        <input class="weui-input" th:name="hnhy1" placeholder="入学年月" type="date" onblur="validateDate1(this)"/>
                    </div>
                </div>
                <div class="weui-cell">
                    <div class="weui-cell__hd"><label class="weui-label">学校名称：</label></div>
                    <div class="weui-cell__bd">
                        <input class="weui-input" th:name="zhxxx1" placeholder="学校名称" onblur="validateChinese(this)"/>
                    </div>
                </div>
                <div class="weui-cell">
                    <div class="weui-cell__hd"><label class="weui-label">证明人：</label></div>
                    <div class="weui-cell__bd">
                        <input class="weui-input" th:name="zmr1" placeholder="家人工作单位" onblur="validateChinese(this)"/>
                    </div>
                </div>
                <div class="weui-cell">
                    <div class="weui-cell__hd"><label class="weui-label">入学年月：</label></div>
                    <div class="weui-cell__bd">
                        <input class="weui-input" th:name="hnhy2" placeholder="入学年月" type="date" onblur="validateDate1(this)"/>
                    </div>
                </div>
                <div class="weui-cell">
                    <div class="weui-cell__hd"><label class="weui-label">学校名称：</label></div>
                    <div class="weui-cell__bd">
                        <input class="weui-input" th:name="zhxxx2" placeholder="学校名称" onblur="validateChinese(this)"/>
                    </div>
                </div>
                <div class="weui-cell">
                    <div class="weui-cell__hd"><label class="weui-label">证明人：</label></div>
                    <div class="weui-cell__bd">
                        <input class="weui-input" th:name="zmr2" placeholder="家人工作单位" onblur="validateChinese(this)"/>
                    </div>
                </div>
                <div class="weui-cell">
                    <div class="weui-cell__hd"><label class="weui-label">入学年月：</label></div>
                    <div class="weui-cell__bd">
                        <input class="weui-input" th:name="hnhy3" placeholder="入学年月" type="date" onblur="validateDate1(this)"/>
                    </div>
                </div>
                <div class="weui-cell">
                    <div class="weui-cell__hd"><label class="weui-label">学校名称：</label></div>
                    <div class="weui-cell__bd">
                        <input class="weui-input" th:name="zhxxx3" placeholder="学校名称" onblur="validateChinese(this)"/>
                    </div>
                </div>
                <div class="weui-cell">
                    <div class="weui-cell__hd"><label class="weui-label">证明人：</label></div>
                    <div class="weui-cell__bd">
                        <input class="weui-input" th:name="zmr3" placeholder="家人工作单位" onblur="validateChinese(this)"/>
                    </div>
                </div>
                <div class="weui-cells__title">家庭联系人信息一</div>
                <div class="weui-cell">
                    <div class="weui-cell__hd"><label class="weui-label">姓名：</label></div>
                    <div class="weui-cell__bd">
                        <input class="weui-input" placeholder="姓名" th:name="jtlxr" onblur="validateChinese(this)" />
                    </div>
                </div>
                <div class="weui-cell">
                    <div class="weui-cell__hd"><label class="weui-label">与本人关系：</label></div>
                    <div class="weui-cell__bd">
                        <input class="weui-input" placeholder="与本人关系" th:name="lxrgx" onblur="validateChinese(this)"/>
                    </div>
                </div>
                <div class="weui-cell">
                    <div class="weui-cell__hd"><label class="weui-label">电话：</label></div>
                    <div class="weui-cell__bd">
                        <input class="weui-input" placeholder="电话" th:name="yddh" onblur="validatePhone(this)" maxlength="11"/>
                    </div>
                </div>
                <div class="weui-cell">
                    <div class="weui-cell__hd"><label class="weui-label">职业：</label></div>
                    <div class="weui-cell__bd">
                        <input class="weui-input" placeholder="职业" th:name="lxrzy" onblur="validateChinese(this)"/>
                    </div>
                </div>
                <div class="weui-cell weui-cell_select weui-cell_select-after">
                    <div class="weui-cell__hd">
                        <label for="lxrZzmm" class="weui-label">政治面貌</label>
                    </div>
                    <div class="weui-cell__bd">
                        <select class="weui-select" id="lxrZzmm" name="lxrZzmm">
                            <option value="">--请选择--</option>
                            <option th:each="list:${list_zzmm}" th:value="${list.id}" th:text="${list.name}"></option>
                        </select>
                    </div>
                </div>
                <div class="weui-cells__title">家庭联系人信息二</div>
                <div class="weui-cell">
                    <div class="weui-cell__hd"><label class="weui-label">姓名：</label></div>
                    <div class="weui-cell__bd">
                        <input class="weui-input" placeholder="姓名" th:name="jtlxr2" onblur="validateChinese(this)"/>
                    </div>
                </div>
                <div class="weui-cell">
                    <div class="weui-cell__hd"><label class="weui-label">与本人关系：</label></div>
                    <div class="weui-cell__bd">
                        <input class="weui-input" placeholder="与本人关系" th:name="lxrgx2" onblur="validateChinese(this)"/>
                    </div>
                </div>
                <div class="weui-cell">
                    <div class="weui-cell__hd"><label class="weui-label">电话：</label></div>
                    <div class="weui-cell__bd">
                        <input class="weui-input" placeholder="电话" th:name="yddh2" onblur="validatePhone(this)" maxlength="11"/>
                    </div>
                </div>
                <div class="weui-cell">
                    <div class="weui-cell__hd"><label class="weui-label">职业：</label></div>
                    <div class="weui-cell__bd">
                        <input class="weui-input" placeholder="职业" th:name="lxrzy2" onblur="validateChinese(this)"/>
                    </div>
                </div>
                <div class="weui-cell weui-cell_select weui-cell_select-after">
                    <div class="weui-cell__hd">
                        <label for="lxrZzmm2" class="weui-label">政治面貌</label>
                    </div>
                    <div class="weui-cell__bd">
                        <select class="weui-select" id="lxrZzmm2" name="lxrZzmm2">
                            <option value="">--请选择--</option>
                            <option th:each="list:${list_zzmm}" th:value="${list.id}" th:text="${list.name}"></option>
                        </select>
                    </div>
                </div>
                <div class="weui-cells__title">家庭联系人信息三</div>
                <div class="weui-cell">
                    <div class="weui-cell__hd"><label class="weui-label">姓名：</label></div>
                    <div class="weui-cell__bd">
                        <input class="weui-input" placeholder="姓名" th:name="jtlxr3" onblur="validateChinese(this)"/>
                    </div>
                </div>
                <div class="weui-cell">
                    <div class="weui-cell__hd"><label class="weui-label">与本人关系：</label></div>
                    <div class="weui-cell__bd">
                        <input class="weui-input" placeholder="与本人关系" th:name="lxrgx3" onblur="validateChinese(this)"/>
                    </div>
                </div>
                <div class="weui-cell">
                    <div class="weui-cell__hd"><label class="weui-label">电话：</label></div>
                    <div class="weui-cell__bd">
                        <input class="weui-input" placeholder="电话" th:name="yddh3" onblur="validatePhone(this)" maxlength="11"/>
                    </div>
                </div>
                <div class="weui-cell">
                    <div class="weui-cell__hd"><label class="weui-label">职业：</label></div>
                    <div class="weui-cell__bd">
                        <input class="weui-input" placeholder="职业" th:name="lxrzy3" onblur="validateChinese(this)"/>
                    </div>
                </div>
                <div class="weui-cell weui-cell_select weui-cell_select-after">
                    <div class="weui-cell__hd">
                        <label for="lxrZzmm3" class="weui-label">政治面貌</label>
                    </div>
                    <div class="weui-cell__bd">
                        <select class="weui-select" id="lxrZzmm3" name="lxrZzmm3">
                            <option value="">--请选择--</option>
                            <option th:each="list:${list_zzmm}" th:value="${list.id}" th:text="${list.name}"></option>
                        </select>
                    </div>
                </div>
            </div>
        </form>
        <div class="weui-btn-area">
            <a class="weui-btn weui-btn_primary" href="javascript:" id="showTooltips">确定</a>
        </div>
    </div>
</div>
</body>
<script th:src="@{/static/mobile/js/mui.min.js}"></script>
<script th:src="@{/static/mobile/js/zepto.min.js}"></script>
<script th:src="@{/static/js/uploadFile.js}"></script>
<script th:src="@{/static/js/upload.js}"></script>
<script th:src="@{/static/js/validate.js}"></script>
</html>